/*************************************************************************
	> File Name: listnode.h
	> Author: shubulan
	> Mail: gaoyulong1996@163.com
	> Created Time: Wed 21 Oct 2020 07:27:30 PM CST
 ************************************************************************/

#ifndef _LISTNODE_H
#define _LISTNODE_H
#define offset(Type, name) (long long)(&(((Type *)(0))->name))
#define GETDATA(p, Type, name) (Type *)((char *) (p) - offset(Type, name))
struct LinkNode {
    struct LinkNode *next;
};

#endif
